<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}

// 扩展功能配置
require(MODULEPARA_PATH.'/configmodule/configsupplier/includes/cacheService.fun.php');// 缓存服务程序
require(MODULEPARA_PATH.'/configmodule/configsupplier/includes/configcommon.fun.php');	
require(MODULEPARA_PATH . '/configmodule/configsupplier/hook/config.php');// 配置钩子

// 独立商家
if($configinfo['modulepara'] == "supplier")
{
	require(MODULEPARA_PATH.'/configmodule/configsupplier/configcommon.php');	
}

// 前台商家
if($configinfo['suppliermodule'] == 1)
{
	require(MODULEPARA_PATH.'/configmodule/configsupplier/configcommon.user.php');	
}

// 后台商家
if($configinfo['adminsuppliermodule'] == 1)
{	
	require(MODULEPARA_PATH.'/configmodule/configsupplier/configcommon.admin.php');	
}
?> 